package com.pearadmin.pro.modules.laboratoryManagement.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.common.web.base.page.PageResponse;
import com.pearadmin.pro.modules.laboratoryManagement.domain.ApplicationRequest;
import com.pearadmin.pro.modules.laboratoryManagement.domain.Applicationtable;
import com.pearadmin.pro.modules.laboratoryManagement.domain.Dangerousroom;
import com.pearadmin.pro.modules.laboratoryManagement.domain.DangerurroomRequest;

public interface ApplicationService extends IService<Applicationtable> {
    /**
     * 获取危险物品申请列表
     *
     * @param request
     * @return com.pearadmin.pro.common.web.base.page.PageResponse<com.pearadmin.pro.modules.laboratoryManagement.domain.Dangerousroom>
     * @author ZhouXingYun
     * @date 2022/5/19 11:43
     */
    PageResponse<Applicationtable> page(ApplicationRequest request);

    /**
     * 申请使用
     *
     * @param applicationtable
     * @return java.lang.Boolean
     * @author ZhouXingYun
     * @date 2022/5/19 9:27
     */
    Boolean apply(Applicationtable applicationtable);
}
